package com.qcby.Mapper;

import com.qcby.Entity.City;
import com.qcby.query.CityQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Queue;


@Mapper
public interface CityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);

    List<CityQuery> getCityWithStations();
    int getCityNumByCityName(City city);

    List<CityQuery> getTransCityWithStations(double longitude,double latitude,double radius);

    List<City> getAllCity();
}